package com.xc.erp.modules.erp.domain.vo;

import lombok.AccessLevel;
import lombok.Data;
import lombok.Getter;

import java.math.BigDecimal;
import java.util.Date;

@Data
//查看仓库的vo
public class FindDepotVo {
    private Long mId;
    private String number;
    private String supplier;
    private String linkNumber;
    private Date createTime;
    private BigDecimal allPrice;
    private Long anotherDepotId;
    private String anotherDepotName;
    private String barCode;
    private Long basicNumber;
    private Long batchNumber;
    private String color;
    private Long depotId;
    private String depotName;
    private Long enableBatchNumber;
    private Long enableSerialNumber;
    private Date expirationDate;
    private Long finishNumber;
    private Long id;
    private Long linkId;
    private Long materialId;
    private String mType;
    private Long materialExtendId;
    @Getter(AccessLevel.NONE)
    private String materialOther;
    public String getMaterialOther(){
        String materialOther="";
        if(mfrs!=null)
            materialOther+=mfrs;
        if(other_field1!=null)
            materialOther+=other_field1;
        if(other_field2!=null)
            materialOther+=other_field2;
        if(other_field3!=null)
            materialOther+=other_field3;
        return materialOther;
    }
    private String model;
    private String name;
    private Long op;
    private Long operNumber;
    private Long organId;
    private Long preNumber;
    private BigDecimal purchaseDecimal;
    private String remark;
    private String sku;
    private String snList;
    private String standard;
    private BigDecimal stock;
    private BigDecimal taxLastMoney;
    private BigDecimal taxMoney;
    private BigDecimal taxRate;
    private BigDecimal taxUnitPrice;
    private String unit;
    private BigDecimal unitPrice;
    private String mfrs;
    private String other_field1;
    private String other_field2;
    private String other_field3;
}
